package com.sansan.qiangji.form.warehouse;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

@Data
public class PushOrderAddForm {

    /**
     * 入库单编号
     * */
    private String pushOrderCode;
    /**
     * 入库单创建时间
     * */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pushOrderCreatime;
    /**
     * 入库单创建人
     * */
    private String pushOrderOwn;

    @NotEmpty(message = "批次号不能为空")
    private String batchNumber;
    /**
     * 入库单状态(未入库/入库中/已入库)
     * */
    private String pushOrderStatus;
}
